import type { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';

const restaurant: AppRouteModule = {
  path: '/restaurant',
  name: '我的餐厅',
  component: LAYOUT,
  meta: {
    orderNo: 5,
    icon: 'iconoir:small-shop-alt',
    title: '我的餐厅',
  },
  children: [
    {
      path: '/restaurant/shop',
      name: '店面信息',
      component: () => import('/@/views/restaurant/shop/Index.vue'),
      meta: {
        title: '店面信息',
      },
    },
    {
      path: '/restaurant/user',
      name: '个人信息',
      component: () => import('/@/views/restaurant/user/index.vue'),
      meta: {
        title: '个人信息',
      },
    },
  ],
};

export default restaurant;
